package com.platform.modules.chat.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.platform.modules.chat.enums.RiskTypeEnum;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@TableName("chat_group_monitor")
@Accessors(chain = true) // 链式调用
public class ChatGroupMonitor extends Model<ChatGroupMonitor> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.INPUT)
    private Long groupId;

    private Integer inTotal;
    private Integer inBalance;
    private Integer outTotal;
    private Integer outBalance;
    private Float profit;
    private Float up;
    private Float down;
    private Date updateTime;
    private String notUserId;
    private Long finance;
    private RiskTypeEnum risk;
}
